package io.github.fb513.common.enums;

/**
 * @author fengbo
 * @since 2023/12/25 12:37
 */
public enum ContentTypeEnum {

    JSON(1, "json"),
    PROTOBUF(2, "protobuf")
    ;

    private final int type;
    private final String desc;

    ContentTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
